package com.fz.entity;

import lombok.Data;

/**
 * Created by Z-C-Y on 2018-02-02.
 */
@Data
public class Student {
    private int id;
    private String name;
    private int age;
    private Teacher teacher;
    public Student (Teacher t){
        this.teacher = t;
     }
     public Student (){

     }
    public Student (int id,String name,int age){
        this.id = id;
        this.name = name;
        this.age  = age;

    }




}
